﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UI/Main/Main.Master" AutoEventWireup="true" CodeBehind="add_to_album.aspx.cs" Inherits="OrganizedIN.UI.photo.add_to_album" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div id="middle_tab">
        <div id="middle_tab_title" align="center">
            My Photos</div>
        <div class="middle_tab_content">
            <br />
            <h4>
                You can Add, Search, Add Rating, Add To Album, Re-Name, Re-Date (Add to a future Date), Delete, Archive, and Share with your Group by clicking on the below icons:</h4>
            <br />
        </div>
        <div id="icon_link_wrapper" align="center">
            <div id="icon_primary_documents" align="center">
                <a href="add_new_photos.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Add','','../../images/add_02.jpg',1)">
                    <img src="../../images/add_01.jpg" alt="Search" name="Add" width="75" height="75" border="0" id="Add" /></a>
            </div>
            <div id="icon_secondary" align="center">
                <a href="search_my_photos.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Search','','../../images/search_02.jpg',1)">
                    <img src="../../images/search_01.jpg" alt="Search" name="Search" width="75" height="75" border="0" id="Search" /></a></div>
            <div id="icon_secondary" align="center">
                <a href="add_rating_photos.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Add Rating','','../../images/add_rating_02.jpg',1)">
                    <img src="../../images/add_rating_01.jpg" alt="Add Rating" name="Add Rating" width="75" height="75" border="0" id="Add Rating" /></a></div>
            <div id="icon_secondary" align="center">
                <img src="../../images/add_to_album_02.jpg" alt="Add to Album" name="Add to Album" width="75" height="75" border="0" id="add_to_album" /></a></div>
            <div id="icon_secondary" align="center">
                <a href="rename_photos.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Re-Name','','../../images/rename_02.jpg',1)">
                    <img src="../../images/rename_01.jpg" alt="Re-Name" name="Add Re-Name" width="75" height="75" border="0" id="Re-Name" /></a></div>
            <div id="icon_secondary" align="center">
                <a href="redate_photos.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Re-Date','','../../images/redate_02.jpg',1)">
                    <img src="../../images/redate_01.jpg" alt="Re-Date" name="Re-Date" width="75" height="75" border="0" id="Re-Date" /></a></div>
            <div id="icon_secondary" align="center">
                <a href="share_with_group_photos.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Share with group','','../../images/share_02.jpg',1)">
                    <img src="../../images/share_01.jpg" alt="Share with group" name="Share with group" width="75" height="75" border="0" id="Share with group" /></a></div>
            <div id="icon_secondary" align="center">
                <a href="delete_photos.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Delete','','../../images/delete_02.jpg',1)">
                    <img src="../../images/delete_01.jpg" alt="Delete" name="Delete" width="75" height="75" border="0" id="Delete" /></a></div>
            <div id="icon_secondary" align="center">
                <a href="archive_photos.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Archive','','../../images/archive_02.jpg',1)">
                    <img src="../../images/archive_01.jpg" alt="Archive" name="Archive" width="75" height="75" border="0" id="Archive" /></a></div>
        </div>
        <br />
        <br />
        <div id="gridwrapper" runat="server" class="documents_table">
            <asp:DataGrid ID="dgPhotoAlbum" runat="server" AllowPaging="True" 
                AutoGenerateColumns="False" PageSize="5" Width="90%" HorizontalAlign="Center" 
                oneditcommand="dgPhotoAlbum_EditCommand">
                <HeaderStyle BackColor="#C2CEE7" Font-Bold="True" HorizontalAlign="Center" Font-Size="12px" />
                <Columns>
                    <asp:BoundColumn DataField="PhotoID" HeaderText="Id" HeaderStyle-Font-Bold="true" Visible="false">
                        <HeaderStyle Font-Bold="True"></HeaderStyle>
                    </asp:BoundColumn>
                    <asp:BoundColumn DataField="Photo_Title" HeaderText="Photo Title" HeaderStyle-Width="50%" HeaderStyle-Font-Bold="true">
<HeaderStyle Font-Bold="True" Width="20%"></HeaderStyle>

                        <ItemStyle Font-Size="12px" />
                    </asp:BoundColumn>
                    <asp:TemplateColumn HeaderText="Album Options">
                        <ItemTemplate>
                            <!-- Start Content -->
                            <asp:DropDownList ID="drpAlbum" runat="server" AutoPostBack="True">
                                <asp:ListItem Value="0">Default Album</asp:ListItem>
                            </asp:DropDownList>
                            <!-- End Content -->
                        </ItemTemplate>
                        <HeaderStyle Width="70%" />
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:TemplateColumn>
                    <asp:TemplateColumn HeaderText="Update">
                        <ItemTemplate>
                            <asp:ImageButton ID="btnEdit" runat="server" AlternateText="Edit" ImageUrl="../../images/edit.gif" CommandName="Edit" />
                        </ItemTemplate>
                        <HeaderStyle Width="10%" />
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:TemplateColumn>
                </Columns>
                <PagerStyle Mode="NumericPages" />
            </asp:DataGrid>
        </div>
        <br />
    </div>
</asp:Content>
